package com.example.gokchinesefoodmappcdev.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.gokchinesefoodmappcdev.entity.GoodAttrKey;
import com.example.gokchinesefoodmappcdev.entity.GoodsInfo;
import com.example.gokchinesefoodmappcdev.entity.dto.GoodsDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;
@Mapper
public interface GoodsAttrKeyDao extends BaseMapper<GoodAttrKey> {




    int insertGoodsAttrKey(@Param("goodId") Integer goodId,@Param("attrName") String attrName);

    int selectAttrKeyIdByGoodIdAndAttrName(@Param("goodId") Integer goodId,@Param("attrName") String attrName);
}
